package day0324;

import java.util.Arrays;

public class Test5 {
    public static void main(String[] args) {
        //String[] a={null, null}
        String[] a=new String[2];
        System.out.println(a[1]);
        //        数组 下标  超出  边界  异常
        //报异常  ArrayIndexOutOfBoundsException

        boolean[] bs=new boolean[2];
        if(bs[0]==true){
            System.out.println("AA");
        }else{
            System.out.println("BB");
        }

        long[] g1=new long[2];
        while(g1[0]<0){
            System.out.println("AA");
        }

    }
}
